January 04, 2022, 10:20:16 am *
Welcome, Guest. Please login or register.
News:
 
   Forum Home   Search Login Register OBiTALK  
Pages: [1]
  Print  
Author Topic: remove first digit of caller ID  (Read 2043 times)
mec755
Newbie
*
Posts: 5


« on: September 17, 2014, 10:06:45 pm »

Hi,

On the phone I get the US caller ID as 1xx-xxxxxxx which makes it hard to read.
I would like to use X_InboundCallRoute to remove the first digit if it's a "1".
I tried something like
{(1xxxxxxxxxx)>(xxxxxxxxxx):ph},{ph}
but it doesn't work and still shows the caller ID like before.
Could someone with more experience using InboundCallRoute please let me know how to do this?
I'm using the Obi110.
« Last Edit: September 17, 2014, 10:27:49 pm by mec755 » Logged
ianobi
Hero Member & Beta Tester
*****
Posts: 1831


« Reply #1 on: September 18, 2014, 12:53:43 am »

Hi mec755 - welcome to the forum.

This has come up before as some phones prefer to receive 10 digits to present a clear display. The format is this:

Voice Services > SP1 Service > X_InboundCallRoute:
{(<1:>@@.):ph},{ph}

An incoming call with CallerID of 12345678912 will have the leading "1" removed before the CallerID is sent to the phone by the rule {(<1:>@@.):ph}.

An incoming call with CallerID of 2345678912 or any other CallerID not starting with "1" will be sent to the phone unchanged by the rule {ph}.

The above is a very general rule. If you wish to be very specific only removing "1" from 11 digit numbers then:
{(<1:>xxxxxxxxxx):ph},{ph}


Logged
mec755
Newbie
*
Posts: 5


« Reply #2 on: September 18, 2014, 07:14:40 am »

Thanks  ianobi, works perfectly!

Now I can try to figure out how to use my IP phone on SP2 and how to select SP1 (google voice) or SP2 when dialing a number on the phone connected as ph. :-)

Edit: How to select SP1 or SP2 for outgoing calls was easy to find out by looking to the outbound callroute for the phone port - now only the connection to the GXP2000 is still to be done.
« Last Edit: September 18, 2014, 07:29:52 am by mec755 » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC

Advertisement
Advertisement